package com.usian.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import javax.persistence.*;
import java.io.Serializable;
import java.io.Serializable;

@Table(name = "postion")
public class Postion implements Serializable {


	@Id
	@TableId(value = "id",type = IdType.AUTO)
	@Column(name = "id")
	private Integer id;

	@Column(name = "name")
	private String name;

	@Column(name = "bu")
	private Integer bu;


	public Postion() {
	}

	public Postion(Integer id, String name, Integer bu) {	
		this.id = id;
		this.name = name;
		this.bu = bu;
	}


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getBu() {
		return bu;
	}

	public void setBu(Integer bu) {
		this.bu = bu;
	}


	@Override
	public String toString() {
		return "Postion{" +
				"id='" + id + '\'' +
				"name='" + name + '\'' +
				"bu='" + bu + '\'' +
				'}';
	}

}
